This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Subject: Dir$() on AIX server giving "Path Not Found" error
Feedback Type: Problem
Product Area: Notes Client
Technical Area: Application Development
Platform: AIX
Release: 8.5.2
Reproducible: -Reproducibility-
We run Domino on an AIX server (o/s is AIX 1 7). I need to pick up files from a series of directories that have been created on the server. (The files will be FTP’d to these directories from various locations.) My code will grab each file, create a Notes document and attach the file.
Here’s the code snippet:
1 Dim fullpath As string
2 fullpath = "/BrokerDownload/HeadOffice/Cancellation/"
3 fileName$ = Dir$(fullpath, 0)
I’m getting a “Path Not Found” error on Line 3.
I’ve tried innumerable variations on the directory name in Line 2:
The only way the code actually works is if I am only pointing to the BrokerDownload directory. This is the code that works:
1 Dim fullpath As string
2 fullpath = "/BrokerDownload"
3 fileName$ = Dir$(fullpath, 0)
Neither I nor my Administrator can see any reason for the error. We’ve verified that all directories and subdirectories have the same permissions and owner.
It feels as if it’s some sort of mapping issue. Any direction on how to correctly refer to the directories (or how to rename them so I can reference them) is appreciated.
Feedback number WEBB8YKKVH created by ~Chris Breponeterikle on 09/28/2012
Status: Open
Comments: